package br.com.comdoc.fachada;

//@author Keanujorge

import br.com.comdoc.interfaces.InterfaceEndereco;
import br.com.comdoc.repositorio.RepositorioEndereco;
import java.sql.SQLException;
import java.util.ArrayList;


public class FachadaEndereco implements InterfaceEndereco {

    @Override
    public void salvarEndereco(String rua, String CEP, String bairro, String cidade, 
    String estado, String paiz) throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void alterarEndereco(int id, String rua, String CEP, String bairro, String cidade, 
    String estado, String paiz) throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void deletarEndereco(int id) throws ClassNotFoundException, SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public ArrayList consultarEnderecoPorId(int id) throws ClassNotFoundException, 
    SQLException {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public int returnIdEndereco() throws ClassNotFoundException, SQLException {
        InterfaceEndereco fachaEndereco = new RepositorioEndereco();
        return fachaEndereco.returnIdEndereco();
    }
    
}
